package com.woniuxy.carlife.carlifenewcomplaintsdomain.param;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author yp
 * @ClassName:UserMessage
 * @Description:用户消息参数
 * @date 2021/4/7 2:32
 **/
@Data
@ApiModel(value = "用户消息参数")
public class UserMessageParam  {
      @ApiModelProperty(value = "id",example = "1")
      @NotNull(message = "id不能为空")
      private Integer userMessageId;
      @ApiModelProperty(value = "用户id",example = "1")
      private Integer userId;
      @ApiModelProperty(value = "消息类别id",example = "1")
      @NotNull(message = "消息类别id不能为空")
      private Integer messageCategoryId;
      @ApiModelProperty(value = "内容")
      @NotNull(message = "内容不能为空")
      private String userMessageContent;
      @ApiModelProperty(value = "状态 1未读 2已读 3删除",example = "1")
      private Integer userMessageState;

}
